﻿//
// Copyright (c) 2019-2022 yanggaofeng
//

#include <yangdecoder/YangAudioDecoder.h>

YangAudioDecoder::YangAudioDecoder() {
	m_context = NULL;
	m_isInit = 0;
	m_frameSize = 0;
	m_uid=-1;
	m_alen=0;
	m_dstBuffer=new uint8_t[4096];
	m_dstLen=0;
}

YangAudioDecoder::~YangAudioDecoder() {
	m_context = NULL;
	yang_deleteA(m_dstBuffer);
}

